package cn.tannn.ops.nginx.controller.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;

/**
 * 设置sslpath
 *
 * @author <a href="https://t.tannn.cn/">tan</a>
 * @version V1.0
 * @date 2024/9/19 下午2:02
 */
@Schema(description = "注册domain")
@ToString
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SettingSslPath {
    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull
    Long id;

    @Schema(description = "ssl证书路径，用于自动更新证书(为空为设置为空)")
    String sslPath;
}
